<template>
  <div>
    <div class="wrapper">
      <div class="container">
        <img src="../../assets/wenzhou-logo.png" alt class="logo" />
        <span>
          我的消息
          <el-badge :value="1110" :max="99" class="item" type="primary"></el-badge>
        </span>
        <span>
          <i class="el-icon-edit"></i>我的订单
        </span>
        <span class="user-center">个人中心</span>
        <span>
          <el-dropdown>
            <span class="el-dropdown-link user-name">
              黄松祥
              <i class="el-icon-arrow-down el-icon--right"></i>
            </span>
            <el-dropdown-menu slot="dropdown">
              <el-dropdown-item>注销</el-dropdown-item>
            </el-dropdown-menu>
          </el-dropdown>
        </span>
        <span class="hello-message">中午好</span>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data () {
    return {

    };
  }
};
</script>
<style lang="stylus" scoped>
@import "~@/assets/style/nav-header-var.styl";
.wrapper {
  height: $navHeight;
  background-color: $navBgColor;

  .container {
    height: 100%;
    width: $navContainerWidth;
    margin: 0 auto;

    .logo {
      height: $logoHeight;
    }

    span {
      float: right;
      display: block;
      line-height: $navInfoLineHeight;
      padding-right: 15px;
      cursor: pointer;

      &:hover {
        color: #eee;
      }

      &.hello-message {
        cursor: default;
        color: black;
      }

      &.user-name {
        margin-left: 10px;
        margin-right -5px;
        color: #f56c6c;
      }

      &.user-name:hover {
        color: #eee;
      }

      &.user-center {
        color: #e6a23c;
      }

      &.user-center:hover {
        color: #eee;
      }
    }
  }
}
</style>
